/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package utils;

import javax.ejb.Local;
import javax.mail.MessagingException;
import javax.naming.NamingException;

/**
 *
 * @author loic.vaugeois
 */
@Local
public interface MailLocal {
    /**
     * Envoi de Mail
     * @param email cible
     * @param subject
     * @param body
     * @throws NamingException
     * @throws MessagingException
     */
    public void sendMail(String email, String subject, String body) throws NamingException, MessagingException;
}
